// ActionScript file
package com.photobucket.webapi.objects
{
	
	import flexunit.framework.TestCase;
    import flexunit.framework.TestSuite;        
    import com.photobucket.webapi.oauth.OAuthRequest;
    import com.photobucket.webapi.interfaces.IService
    import com.photobucket.webapi.objects.PhotobucketRemoteObject;
    import com.photobucket.webapi.service.MockService;

	public class RemoteObjectTest extends TestCase {

		public function RemoteObjectTest(methodName:String = null) {
			super(methodName);
		}

		public function testServiceMock():void {
			var result:XML = <album></album>
			var service:IService = new MockService(result);
			var ro:PhotobucketRemoteObject = new PhotobucketRemoteObject(service);
			assertNotNull(ro);
		}
		
		public function resultHander(result:Object):void {
			
		}
		
		public function fault(result:Object):void {
			
		}

	}
}
